﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BestCode.Creds.Entities
{
    public class EntityInfo : EntityId
    {
        private string code;
        private string name;

        private string description;
        private Template anverseFace;
        private Template reverseFace;
        private string picturesFolder;
        private decimal credentialCost;
        

        public virtual string Code
        {
            get { return code; }
            set
            {
                code = value; 
                this.FirePropertyChanged("Code");
            }
        }

        public virtual string Name
        {
            get { return name; }
            set
            {
                name = value;
                this.FirePropertyChanged("Name");
            }
        }

        public virtual string Description
        {
            get { return description; }
            set
            {
                description = value;
                this.FirePropertyChanged("Description");
            }
        }

        public virtual Template ReverseFace
        {
            get { return reverseFace; }
            set
            {
                reverseFace = value;
                this.FirePropertyChanged("ReverseFace");
            }
        }

        public virtual Template AnverseFace
        {
            get { return anverseFace; }
            set
            {
                anverseFace = value;
                this.FirePropertyChanged("AnverseFace");
            }
        }


        public virtual string PicturesFolder
        {
            get { return picturesFolder; }
            set
            {
                picturesFolder = value;
                this.FirePropertyChanged("PicturesFolder");
            }
        }

        public virtual decimal CredentialCost
        {
            get { return credentialCost; }
            set
            {
                credentialCost = value;
                this.FirePropertyChanged("CredentialCost");
            }
        }
        

    }
}
